package com.sch.www.common.util.key;

/**
 * Created by Administrator on 2017/9/11.
 */

public class IDFactory {

    private  static SnowflakeIdWorker    idWorker0=null;
    static {
        idWorker0 = new SnowflakeIdWorker(0, 0);
    }

    public  static String getSnowflakeId(){
       return   idWorker0.nextId().toString();
    }




}
